package com.ruoyi.system.mapper;

import java.util.List;

import com.github.pagehelper.Page;
import com.ruoyi.system.domain.DTO.LegalAidLawyerDTO;
import com.ruoyi.system.domain.LegalAidLawyer;
import com.ruoyi.system.domain.vo.LegalAidLawyerVO;

/**
 * 律师信息Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-09
 */
public interface LegalAidLawyerMapper 
{
    /**
     * 查询律师信息
     * 
     * @param id 律师信息主键
     * @return 律师信息
     */
    public LegalAidLawyer selectLegalAidLawyerById(Long id);

    /**
     * 查询律师信息列表
     *
     * @param legalAidLawyerDTO 律师信息
     * @return 律师信息集合
     */
    public Page<LegalAidLawyerVO> selectLegalAidLawyerList(LegalAidLawyerDTO legalAidLawyerDTO);

    /**
     * 新增律师信息
     * 
     * @param legalAidLawyer 律师信息
     * @return 结果
     */
    public void insertLegalAidLawyer(LegalAidLawyer legalAidLawyer);

    /**
     * 修改律师信息
     * 
     * @param legalAidLawyer 律师信息
     * @return 结果
     */
    public void updateLegalAidLawyer(LegalAidLawyer legalAidLawyer);

    /**
     * 删除律师信息
     *
     * @param id 律师信息主键
     * @return 结果
     */
    public int deleteLegalAidLawyerById(Long id);

    /**
     * 批量删除律师信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLegalAidLawyerByIds(Long[] ids);
}
